package com.staginfo.segs.common;

/**
 * 用于存放静态常量
 * Created by Administrator on 2016/7/11 0011.
 */
public class Constants {
    public static final String RES_PATH = "sTermV1/";//文件根目录
    public static final String RESOURCE_VOICE = RES_PATH + "baidu/";//百度语音所需资源
    public static final String WEB_CACHE = RES_PATH + "cache/";//页面缓存
    public static final String RESOURCE_FILE_PATH = RES_PATH + "resource/";//用于存放离线资源
    public static final String RESOURCE_LOCKLOG_FILE_PATH = RESOURCE_FILE_PATH + "1/";//离线日志目录
    public static final String RESOURCE_LOGINLOG_FILE_PATH = RESOURCE_FILE_PATH + "2/";//离线登录日志目录
    public static final String RESOURCE_LOCK_FILE_PATH = RESOURCE_FILE_PATH + "3/";//离线锁目录
    public static final String RESOURCE_OPERATEKEY_FILE_PATH = RESOURCE_FILE_PATH + "4/";//离线操作秘钥目录
    public static final String RESOURCE_CLEARLOCK_FILE_PATH = RESOURCE_FILE_PATH + "5/";//复位操作离线资源
    public static final String RESOURCECODE_PATH = RESOURCE_FILE_PATH + "6/";//北京协议资源编码
    public static final String TICKET_FILE_PATH = RES_PATH + "tickets/";//用于存放票据
    public static final String PHOTOS_FILE_PATH = RES_PATH + "photos/";//用于存放照片
    public static final String TEMP_TICKET_FILE_PATH = RES_PATH + "temp/";//用于存放临时票据
    public static final String TAG_FILE_PATH = RES_PATH + "tags/";//用于存放标签树
    public static final String UPDATE_FILE_PATH = RES_PATH + "update/";//用于存放升级文件
    public static final String UPDATE_KEY_FILE_PATH = UPDATE_FILE_PATH + "key/";//用于存放钥匙升级文件
    public static final String UPDATE_LOCK_FILE_PATH = UPDATE_FILE_PATH + "lock/";//用于存放锁具升级文件
    public static final String UPDATE_APPLICATION_FILE_PATH = UPDATE_FILE_PATH + "application/";//应用升级文件
    public static final String UPDATE_KEY_UPDATER_FILE_PATH = UPDATE_KEY_FILE_PATH + "updater/";//用于存放钥匙updater升级包
    public static final String UPDATE_KEY_APP_FILE_PATH = UPDATE_KEY_FILE_PATH + "app/";//用于存放钥匙app升级包
    public static final String UPDATE_LOCK_UPDATER_FILE_PATH = UPDATE_LOCK_FILE_PATH + "updater/";//用于存放锁updater升级包
    public static final String UPDATE_LOCK_APP_FILE_PATH = UPDATE_LOCK_FILE_PATH + "app/";//用于存放锁app升级包
    public static final String LOG_FILE_PATH = RES_PATH + "log/";//日志存放目录
    public static final String CRASH_LOG_FILE_PATH = RES_PATH + "crash/";//闪退日志目录
    public static final String BLUETOOTH_DATA_FILE_PATH = RES_PATH + "biuetooth/";//蓝牙数据目录
    public static final String DEBUG_LOG_FILE_PATH = RES_PATH + "debug/";//调试日志目录
    public static final String LOGO_FILE_PATH = RES_PATH + "logo/";//logo图片目录
    public static final String DIGITAL_CERTIFICATION_FILE_PATH = RES_PATH + "cert/";//数字证书目录
    public static final String BLUETOOTH_DEVICEMODEL_LAST_CONNECT_BLE = RES_PATH + "ble/";//上次连接低功耗蓝牙bluetoothdevicemodel
    public static final String BLUETOOTH_DEVICEMODEL_LAST_CONNECT_BT = RES_PATH + "bt/";//上次连接传统蓝牙bluetoothdevicemodel
    public static final String WEB_NAMESPACE = "http://webservice.sc.segs.staginfo.com";//WEBSERVICE接口namespace
    public static final String SUPER_ADMIN_SERVER = "http://123.57.50.28:8282/SC_S/services/TerminalService?wsdl";//超管平台webservice
    public static final String DEFAULT_URL = "http://180.153.71.139:8822/SCZB";
    public static final String SERVICE_USER = "/services/UserService?wsdl";
    public static final String SERVICE_TERMINAL = "/services/TerminalService?wsdl";
    public static final String SERVICE_AUTHORIZATION = "/services/AuthorizationService?wsdl";
    public static final String SERVICE_UPDATE = "/services/UpdateService?wsdl";
    public static final String SERVICE_LOCK = "/services/LockService?wsdl";
    public static final String SERVICE_KEY = "/services/KeyService?wsdl";
    public static final String SERVICE_LOG = "/services/LogService?wsdl";
    public static final String SERVICE_TAG = "/services/TagService?wsdl";
    public static final String SERVICE_BATCH_UPLOAD_RESOURCE = "/services/batchUploadService?wsdl";
    public static final String SERVICE_LOGO_PICTURE = "/services/downloadAppService?wsdl";
    public static final String SERVICE_PHOTO = "/services/photoService?wsdl";

    public final static String LOG_SUFFIX = ".txt";//日志后缀



    /**
     * 权限请求码
     */
    public static short REQUEST_PERMISSION_EXTERNAL_STORAGE = 1;

    /**
     * 告警类型
     * */
    public static final int WARNING_TYPE_PER = 0; //个人告警
    public static final int WARNING_TYPE_ALL = 1;//全部告警
}